package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportPurchaseInventoryDetailDTO;
import com.hunttown.mes.rpc.domain.query.TransportPurchaseInventoryDetailDTOQuery;

/**
 * created by wangjunfu on 2019-12-24 15:52:03
 */
public interface TransportPurchaseInventoryDetailRpcService {

    TransportPurchaseInventoryDetailDTO insert(TransportPurchaseInventoryDetailDTO transportPurchaseInventoryDetailDTO);

    Boolean updateInfoById(TransportPurchaseInventoryDetailDTO transportPurchaseInventoryDetailDTO);

    Boolean updateInfoByQuery(TransportPurchaseInventoryDetailDTOQuery transportPurchaseInventoryDetailDTOQuery);

    TransportPurchaseInventoryDetailDTO selectById(Integer id);

    TransportPurchaseInventoryDetailDTO selectObjByQuery(TransportPurchaseInventoryDetailDTOQuery transportPurchaseInventoryDetailDTOQuery);

    Page<TransportPurchaseInventoryDetailDTO> getListForPage(TransportPurchaseInventoryDetailDTOQuery transportPurchaseInventoryDetailDTOQuery);

    Boolean deleteById(Integer id);
}